VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging Namespace / PixelManipulator Class / LockPixelsForSerialAccess Methods / LockPixelsForSerialAccess(Rectangle,BitmapLockMode,PixelFormat,Byte[],Boolean) Method
Syntax Requirements SeeAlso
In This Topic
LockPixelsForSerialAccess(Rectangle,BitmapLockMode,PixelFormat,Byte[],Boolean) Method (PixelManipulator)
In This Topic
Locks pixels of the source image into system memory.
Syntax
'Declaration

Public Overloads Sub LockPixelsForSerialAccess( _
ByVal rect
A Rectangle structure specifying the portion of the source image to lock.
As System.Drawing.Rectangle, _
ByVal lockMode
An ImageLockMode enumeration specifying the access level (read/write) for the source image.
As BitmapLockMode, _
ByVal pixelFormat
Pixel format to lock the source image.
As PixelFormat, _
ByVal serialBuffer
Buffer for serial read/write.
() As Byte, _
ByVal reverseReadWrite
A value indicating whether reverse reading/writing must be used.
As Boolean _
)

Parameters

rect
A Rectangle structure specifying the portion of the source image to lock.
lockMode
An ImageLockMode enumeration specifying the access level (read/write) for the source image.
pixelFormat
Pixel format to lock the source image.
serialBuffer
Buffer for serial read/write.
reverseReadWrite
A value indicating whether reverse reading/writing must be used.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also